/*文章申请精品*/
function factory (BetterArticleModel) {
  return function (req, res) {
    /*
      请求体： {articleId: articleId}
    */
    var betterArticle = new BetterArticleModel(req.body)
    betterArticle.save(function (err, ba) {
      res.send('1')
    })
  }
}

module.exports = factory